Path: blob/master/Part 2 - Regression/Support Vector Regression (SVR)/[R] Support Vector Regression (SVR).ipynb
1009 views
Kernel: R
Support Vector Regression
Data Preprocessing
In [4]:
In [6]:
Out[6]:
Fiting the SVR to the dataset
In [7]:
Out[7]:
Call:
svm(formula = Salary ~ ., data = dataset, type = "eps-regression")
Parameters:
SVM-Type: eps-regression
SVM-Kernel: radial
cost: 1
gamma: 1
epsilon: 0.1
Number of Support Vectors: 6
Predicting a new result
In [11]:
Out[11]:
Visualising the SVR Model results
In [12]:
Out[12]:
MIME type unknown not supported
More continuous visualization
In [13]:
Out[13]:
MIME type unknown not supported
The observation point for CEO is considered as an outlier. This is because the CEO has a much higher Salary then the other Level
In [ ]: